package com.kedacom.freedomLabel.model.excel;

import android.support.annotation.NonNull;

import com.kedacom.freedomLabel.excel.ISheetRecord;
import com.kedacom.freedomLabel.excel.ITableRecord;

public class BusinessTable implements ITableRecord {

    private String tableName;
    private BusinessSheet[] sheets;

    public BusinessTable(String tableName, BusinessSheet[] sheets) {
        this.tableName = tableName;
        this.sheets = sheets;
    }

    public void setSheets(BusinessSheet[] sheets) {
        this.sheets = sheets;
    }

    @NonNull
    @Override
    public String getTableName() {
        return this.tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    @NonNull
    @Override
    public ISheetRecord[] getTableSheets() {
        return this.sheets;
    }
}
